package com.nbcio.modules.erp.inventory.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 库存余额实体
 */
@Data
@TableName("erp_inv_balance")
public class ErpInvBalance {
    @TableId
    private Long id;
    private Long orgId;
    private Long warehouseId;
    private Long materialId;
    private Long lotId;
    private Long serialId;
    private String binCode;
    private BigDecimal qtyOnHand;
    private BigDecimal amount;
    private BigDecimal movingAvgCost;
    private LocalDateTime updateTime;
}

